body,
html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}


/* 登录页 */

.login {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 450px;
    height: 300px;
    border: 2px solid #20313b;
    border-radius: 1px;
}

h3 {
    text-align: center;
    font-size: 24px;
    margin: 10px;
}

.layui-input-block {
    margin: 0px;
}

.layui-form {
    margin: 20px 30px;
}

.layui-input-block {
    text-align: center;
}


/* 注册页 */

.register {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 450px;
    height: 300px;
    border: 2px solid #20313b;
    border-radius: 1px;
}